<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var arr = ['tom','jack','frank'];
    for (var hi in arr){
        console.log(arr[hi] +'你好');
    }
</script>
</body>
</html>